package org.jsola.contract.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.contract.example.TemplateExample.E_CATEGORY_ID;
import static org.jsola.contract.example.TemplateExample.E_CONTENT;
import static org.jsola.contract.example.TemplateExample.E_CONTENT_JSON;
import static org.jsola.contract.example.TemplateExample.E_NAME;
import static org.jsola.contract.example.TemplateExample.E_TOTAL_PAGE;
import static org.jsola.contract.example.TemplateExample.N_CATEGORY_ID;
import static org.jsola.contract.example.TemplateExample.N_CONTENT;
import static org.jsola.contract.example.TemplateExample.N_CONTENT_JSON;
import static org.jsola.contract.example.TemplateExample.N_NAME;
import static org.jsola.contract.example.TemplateExample.N_TOTAL_PAGE;
import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;

/**
 * 合同模板
 *
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【合同模板】列表展示对象")
@Data
public class TemplateListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private Long id;

    @ApiModelProperty(notes = N_NAME, example = E_NAME)
    private String name;

    @ApiModelProperty(notes = N_CATEGORY_ID, example = E_CATEGORY_ID)
    private Long categoryId;

    @ApiModelProperty(notes = N_CONTENT, example = E_CONTENT)
    private String content;

    @ApiModelProperty(notes = N_CONTENT_JSON, example = E_CONTENT_JSON)
    private String contentJson;

    @ApiModelProperty(notes = N_TOTAL_PAGE, example = E_TOTAL_PAGE)
    private Integer totalPage;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;



}

